package com.project.bean;

import java.lang.reflect.Field;

/**
 * @see 改变变量时一定要修改cursor2Bean
 * @see{@link com.support.SQLite.NewsDao}
 **/
public class News {
	private long id;
	private StringBuilder newsId;
	private StringBuilder title, description, photo, other;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public StringBuilder getNewsId() {
		return newsId;
	}

	public void setNewsId(StringBuilder newsId) {
		this.newsId = newsId;
	}

	public StringBuilder getTitle() {
		return title;
	}

	public void setTitle(StringBuilder title) {
		this.title = title;
	}

	public StringBuilder getDescription() {
		return description;
	}

	public void setDescription(StringBuilder description) {
		this.description = description;
	}

	public StringBuilder getPhoto() {
		return photo;
	}

	public void setPhoto(StringBuilder photo) {
		this.photo = photo;
	}

	public StringBuilder getOther() {
		return other;
	}

	public void setOther(StringBuilder other) {
		this.other = other;
	}

	public Field[] getAllColumns() {
		return this.getClass().getDeclaredFields();
	}
}
